package com.sxhalo.fsms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sxhalo.fsms.domain.FactDepartment;

public interface FactDepartmentMapper {
    int deleteByPrimaryKey(Integer departmentId);

    int insert(FactDepartment record);

    int insertSelective(FactDepartment record);

    FactDepartment selectByPrimaryKey(Integer departmentId);

    int updateByPrimaryKeySelective(FactDepartment record);

    int updateByPrimaryKey(FactDepartment record);
    
    int getCount(@Param("where")String where);
    
    List<FactDepartment> findWhereList(@Param("where")String where, @Param("order")String order);
    
    List<FactDepartment> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);

    int deleteByWhere(@Param("where")String where);
}